let featureObj = {
  // 核心函数
  typeJudge: function(feature) {
    if (feature.get('typhoonPoint')) {
      return 'typhoonPoint'
    } else if (feature.get('typhoonSolar')) {
      return typhoonSolar
    } else {
      return 'isFeatureButDontNeedTodo'
    }
  },
  // 啥也不做
  isFeatureButDontNeedTodoClick: function() {
    console.log('click')
    return
  },
  isFeatureButDontNeedTodoHover: function() {
    console.log('no feature hover')
    return
  },
// 风圈相关
typhoonSolarClick:function(feature){
  console.log(typhoonSolarClick,feature);
},
typhoonSolarHover:function(feature){
  console.log('typhoonSolarHover',feature);
},

  /**
   * 台风点相关的事件
   */
  typhoonPointClick: function(feature) {
    console.log('feature click')
  },
  // hover 事件的封装
  typhoonPointHover: function(feature) {
    this.map.getTargetElement().style.cursor = 'pointer'
    this.clearPointZoomStyle()
    // 改变circle的大小
    feature
      .getStyle()
      .getImage()
      .setRadius(16)
    feature.changed()
    this.lastZoomPoint = feature
  }
}
export default featureObj
